package com.java.module.user.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ChangePhoneDto {


    @ApiModelProperty(value = "手机号", required = true, position = 1)
    @NotBlank(message = "手机号不能空")
    private String phone;

    @ApiModelProperty(value = "验证码", required = true, position = 2)
    @NotBlank(message = "验证码不能空")
    private String code;
}
